package com.chinaunicom.behavior.strategy;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/23 16:44
 * Description: 导航类
 */
public class Navigator {
    
    private RouteStrategy strategy;
    
    public void setStrategy(RouteStrategy strategy){
        this.strategy = strategy;
    }
    
    public void buildRoute(String startLocation, String endLocation){
        strategy.buildRoute(startLocation, endLocation);
    }
    
}
